package com.ccys.db.mapper;

import com.ccys.db.dto.corporateAndInsurance.PlanDto;
import com.ccys.db.entity.TblPlan;
import com.ccys.db.vo.corporateAndInsurance.PlanVo;
import com.ccys.db.vo.marketing.PlanSelectListWebVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/15
*/
public interface TblPlanMapper extends Mapper<TblPlan>, MySqlMapper<TblPlan> {
    List<TblPlan> findPlanByType(@Param("type") Integer type);



    List<PlanVo> getList(PlanDto dto);

       /**
        * @description 查询可选择plan
        * @date     2024/1/10
        * @author   cloud fly
        */
    List<PlanSelectListWebVO> listPlanSelect(TblPlan tblPlan);
}